﻿@model List<Yglab.Models.Journal>

@* kullanıcı login olmuşsa göster sadece *@

@if(ViewBag.isRegistered){
    <p class="text-success">İlk yayınını bekleyen dergiler(makale gönderebilirsiniz.)</p>

    foreach (Yglab.Models.Journal j in Model)
    {
        @Html.RouteLink(j.Name, "Journal", new { controller = "Journal", action = "Articles", journalpath = j.PathName })
        <br />
    
    }
}
@{
    List<Yglab.Models.Journal> journalss = ViewBag.pubedJournals;
}
@if (journalss != null)
{
    <p class="text-success">yayınlanmış dergiler </p>

    foreach (Yglab.Models.Journal j in journalss)
    {
        @Html.RouteLink(j.Name, "Journal", new { controller = "Journal", action = "Articles", journalpath = j.PathName })
        <br />
    
    }
}